<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>group - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.groupCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>Group - write</h1>
	
	<form:form commandName="groupCriteria" id="groupCriteriaForm" name="groupCriteriaForm" action="/group.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="groupId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="group" name="groupForm" action="/groupWrite.do">
	<input type="hidden" name="mode" value="write"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>groupId</th>
			<td>
				<form:input path="groupId"/>
				<form:errors path="groupId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>groupName</th>
			<td>
				<form:input path="groupName"/>
				<form:errors path="groupName" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>priority</th>
			<td>
				<form:input path="priority"/>
				<form:errors path="priority" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>needCaptcha</th>
			<td>
				<form:input path="needCaptcha"/>
				<form:errors path="needCaptcha" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>needCheck</th>
			<td>
				<form:input path="needCheck"/>
				<form:errors path="needCheck" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>allowPerDay</th>
			<td>
				<form:input path="allowPerDay"/>
				<form:errors path="allowPerDay" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>allowMaxFile</th>
			<td>
				<form:input path="allowMaxFile"/>
				<form:errors path="allowMaxFile" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>allowSuffix</th>
			<td>
				<form:input path="allowSuffix"/>
				<form:errors path="allowSuffix" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isRegDef</th>
			<td>
				<form:input path="isRegDef"/>
				<form:errors path="isRegDef" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="write"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
